SMTP2GO\App\WordpressPluginAdmin C

Total Complexity 103
Dependencies 6
Dependents 1
Total lines 824
Lines of code 581
Logical lines of code 286
Comment lines 99
Methods 30
Properties 4

Methods 30

Method Rating Maintainability Complexity Lines of code
sendTestEmail()
A
43 12 44
validateApiKey()
A
48 9 34
registerSettings()
A
35 2 126
outputTextFieldHtml()
S
50 7 29
outputCheckboxHtml()
S
50 7 29
isFreePlan()
S
53 7 23
checkForConflictingPlugins()
S
48 6 33
getApiKeyPermissions()
S
56 6 19
outputApiKeyHtml()
S
48 4 35
clearSavedApiKey()
S
58 5 15
cleanCustomHeaderOptions()
S
61 5 12
outputCustomHeadersHtml()
S
46 3 41
renderStatsPage()
S
60 3 11
downloadLogs()
S
52 2 24
outputRadioOptionsHtml()
S
64 3 8
validateSenderName()
S
66 3 7
spamRating()
S
63 3 10
bounceRating()
S
63 3 10
addSettingsLink()
S
67 2 7
enqueueScripts()
S
62 1 11
__construct()
S
71 1 6
truncateLogs()
S
66 1 8
generalSection()
S
83 1 3
sectionDivider()
S
82 1 3
customHeadersSection()
S
74 1 5
addMenuPage()
S
66 1 10
renderManagementPage()
S
75 1 4
renderLogsPage()
S
67 1 7
enqueueStyles()
S
77 1 3
hasEndpointPermission()
S
75 1 4